package com.person.service;

import com.person.pojo.Emp;
import com.person.pojo.PageBean;

import javax.servlet.http.HttpServletRequest;

public interface EmpService {
    Emp login(Emp employee);

    void addEmp(HttpServletRequest request,Emp emp);

    PageBean page(Integer page, Integer pageSize, String name);

    void updateById(HttpServletRequest request, Emp emp);

    Emp byId(long id);
}
